@charset "utf-8";

.mj-select {
  display:block;
  position: relative;
  line-height: normal;
}

.mj-select * {
  box-sizing: border-box;
}

.mj-select .mj-select-control {
  position: relative;
  display:block;
  border: 1px solid var(--border-color);
  border-radius:3px;
  background:#fff;
  min-height: 30px;
  line-height: 30px;
  padding: 0 20px 0 10px;
  cursor: pointer;
  transition: all .3s ease;
}
.mj-select:not(.mj-select-disabled) .mj-select-control:not(.focus):hover {
    border-color:var(--gray11);
}

.mj-select .mj-select-control.focus {
    border-color: var(--focus);
    -webkit-box-shadow: 2px 2px 5px #ebeaea;
    box-shadow: 2px 2px 5px #ebeaea;
}

.mj-select .mj-select-control > i:last-child {position: absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-block;transition:all .3s ease;font-size: 14px;}
.mj-select.open .mj-select-control > i:last-child {transform:translateY(-50%) rotate(180deg);}

.mj-select .mj-select-control .input-control {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;    
}
.mj-select .mj-select-control .input-control.placeholder {
    color:#c5c8ce;
}

.mj-select-tags .multiple-placeholder{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 6px;
    z-index: 1;
}

.mj-select-tags .multiple-placeholder.placeholder{
    color: #c5c8ce;
}

.mj-select-drop-down {
  position: absolute;
  left: 0;
  min-width: 100%;
  z-index: 100;
  transform-origin: center top;
}

.mj-select-drop-down li {
  padding: 5px 5px 5px 10px;
  cursor: pointer;
  position: relative;
  white-space:nowrap;
}

.mj-select-drop-down li:hover {
  background: #f8f8f8;
}

.mj-select-drop-down li.disabled {
  color: #c0c4cc;
  cursor: not-allowed;
}

.mj-select-drop-down li.active {
  color: var(--primary);
}
.mj-select-drop-down.is-multiple li.active:after {
    content:"\e742";
    position: absolute;
    font-family: icon;
    font-size:16px;
    right:10px;
}

.mj-select-drop-down-scroll {
  box-shadow:0 2px 6px rgb(0 0 0 / 15%);
  border: 1px solid #e4e7ed;
  background:#fff;
  border-radius: 3px;
  margin:3px 0;
  padding:5px 0;
}

.mj-select-drop-down .mj-select-drop-down-border {
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
}

.mj-select-drop-down .mj-select-drop-down-border::-webkit-scrollbar{
  width: 6px;
}

.mj-select-drop-down .mj-select-drop-down-border::-webkit-scrollbar-thumb{
  border-radius: 5px;
  background-color: rgba(144,147,153,.5);
  transition: .3s background-color;
}

.mj-select.open {
  z-index: 100;
}

.mj-select.open .mj-select-control .input {
  border-color: #666;
  color: #666;
}

.mj-select .select-search-box {padding:5px;}
.mj-select .select-search-box .input-control {
    width:100%;
    border:1px solid #ccc;
    line-height:26px;padding:0 5px;
    outline:none;
    border-radius:3px;
}

.select-zoom-in-top-enter-active,
.select-zoom-in-top-leave-active {
	opacity: 1;
	transform: scaleY(1);
	transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.select-zoom-in-top-enter,
.select-zoom-in-top-leave-active {
	opacity: 0;
	transform: scaleY(0);
}

.select-drop-enter-active:not([position="top"]) {
  animation: selectDropDown .3s;
  transform-origin: center top;
}
.select-drop-enter-active[position="top"] {
    -webkit-animation: selectDropDown2 .3s cubic-bezier(.23,1,.32,1) both; 
            animation: selectDropDown2 .3s cubic-bezier(.23,1,.32,1) both;      
}

.select-drop-leave-active:not([position="top"]) {
  transform-origin: center top;
  animation: selectDropUp .3s;
  z-index: 99;
}
.select-drop-leave-active[position="top"] {
    -webkit-animation: selectDropUp2 .3s cubic-bezier(.23,1,.32,1) both; 
            animation: selectDropUp2 .3s cubic-bezier(.23,1,.32,1) both;    
}

@keyframes selectDropDown {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes selectDropUp {
  0% {
    opacity: 1;
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform: scaleY(0);
  }
}

@-webkit-keyframes selectDropDown2 {
    0% {
        -webkit-transform: scaleY(.8) translateZ(0);
        -webkit-transform-origin: 0% 100%;
        opacity: 0;
    }
    100% {
        -webkit-transform: scaleY(1) translateZ(0);
        -webkit-transform-origin: 0% 100%;
        opacity: 1;
    }
}
@-webkit-keyframes selectDropUp2 {
    0% {
        -webkit-transform: scaleY(1) translateZ(0);
        -webkit-transform-origin: 0% 100%;
        opacity: 1;
    }
    100% {
        -webkit-transform: scaleY(.8) translateZ(0);
        -webkit-transform-origin: 0% 100%;
        opacity: 0;
    }
}

.mj-select-multiple .mj-select-control {
    padding-left:4px;
}

.mj-select-tags {
    min-height:30px;
    line-height:30px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.select-count{
  background-color: #f4f4f5;
  height: 26px;
  padding: 0 5px 0 10px;
  line-height: 24px;
  font-size: 12px;
  color: #909399;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  box-sizing: border-box;
  white-space: nowrap;
  margin: 2px 4px 2px 0;
}

.mj-select-tag i {
    display: inline-block;
    background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTAyNCAxMDI0JyB2ZXJzaW9uPScxLjEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zycgd2lkdGg9JzE2JyBoZWlnaHQ9JzE2Jz48cGF0aCBkPSdNNTA0LjIyNCA0NzAuMjg4bDIwNy44NC0yMDcuODRhMTYgMTYgMCAwIDEgMjIuNjA4IDBsMTEuMzI4IDExLjMyOGExNiAxNiAwIDAgMSAwIDIyLjYyNGwtMjA3Ljg0IDIwNy44MjQgMjA3Ljg0IDIwNy44NGExNiAxNiAwIDAgMSAwIDIyLjYwOGwtMTEuMzI4IDExLjMyOGExNiAxNiAwIDAgMS0yMi42MjQgMGwtMjA3LjgyNC0yMDcuODQtMjA3Ljg0IDIwNy44NGExNiAxNiAwIDAgMS0yMi42MDggMGwtMTEuMzI4LTExLjMyOGExNiAxNiAwIDAgMSAwLTIyLjYyNGwyMDcuODQtMjA3LjgyNC0yMDcuODQtMjA3Ljg0YTE2IDE2IDAgMCAxIDAtMjIuNjA4bDExLjMyOC0xMS4zMjhhMTYgMTYgMCAwIDEgMjIuNjI0IDBsMjA3LjgyNCAyMDcuODR6JyBmaWxsPScjNTE1YTZlJz48L3BhdGg+PC9zdmc+);
    width: 16px;
    height: 16px;
    vertical-align: sub;
    margin-left: 3px;
}

/* .mj-select-tags input {
    position:absolute;
    border: none;
    top: 0;
    left: 0;
    line-height: 32px;
    padding-left: 10px;
    outline:none;
    width: 100%;
    cursor: pointer;
    background: none;
} */

.mj-select-tag{
  display: flex;
  align-items: center;
  background-color: #f4f4f5;
  height: 26px;
  padding: 0 5px 0 10px;
  line-height: 24px;
  font-size: 12px;
  color: #909399;
  border: 1px solid #e9e9eb;
  border-radius: 4px;
  box-sizing: border-box;
  white-space: nowrap;
  margin: 2px 4px 2px 0;
  position: relative;
  z-index:1;
}
.select-text{
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mj-select-disabled .mj-select-control {background: #f3f3f3;}
.select-search-input {
    border:none;
    outline:none;
    width:100%;
}
.select-multiple-search-input{
    flex-grow: 1;
    max-width: 150px;
    border: none;
    line-height: 30px;
    padding-left: 6px;
    outline:none;
    cursor: pointer;
    background: none;
    z-index: 2;
}
.mj-select-drop-down .no-data {
    text-align:center;
    color:#999;padding:10px 0;
}
.mj-select-drop-down .slot-option{
    padding:10px 0;
    text-align:center;
}
.mj-select-large .mj-select-control {
    min-height: 38px;
    line-height:38px;
    font-size: 16px;
}

.mj-select-small .mj-select-control {
    min-height: 22px;
    line-height:22px;
    font-size: 12px;
}

